package com.macro.mall.mapper;

import com.macro.mall.model.PmsPlantingTechnologyProduct;
import com.macro.mall.model.PmsPlantingTechnologyProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PmsPlantingTechnologyProductMapper {
    long countByExample(PmsPlantingTechnologyProductExample example);

    int deleteByExample(PmsPlantingTechnologyProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsPlantingTechnologyProduct record);

    int insertSelective(PmsPlantingTechnologyProduct record);

    List<PmsPlantingTechnologyProduct> selectByExample(PmsPlantingTechnologyProductExample example);

    PmsPlantingTechnologyProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsPlantingTechnologyProduct record, @Param("example") PmsPlantingTechnologyProductExample example);

    int updateByExample(@Param("record") PmsPlantingTechnologyProduct record, @Param("example") PmsPlantingTechnologyProductExample example);

    int updateByPrimaryKeySelective(PmsPlantingTechnologyProduct record);

    int updateByPrimaryKey(PmsPlantingTechnologyProduct record);
}